package com.ff.cms.dao;

import com.ff.cms.bean.Article;
import com.ff.cms.bean.Link;
import com.ff.cms.bean.Type;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LinkMapper {
    
	List<Map<String, Object>> list(HashMap<String, Object> mapLimit);

	List<Type> findTypeList();

	void save(Link link);

	void delete(Integer[] array);

	Map<String, Object> findById(Integer idt);

	void update(Link link);

	void pushAndcancel(Map<String, Object> map);

	int findLinkCount(HashMap<String, Object> mapCount);
}